// --------------------------------------------------------------------------------------------------------------------
// <copyright file="PhoneBookResult.cs" company="XamlNinja">
//   2011 Richard Griffin and Ollie Riches
// </copyright>
// <summary>
//   PhoneBookResult.cs
// </summary>
// --------------------------------------------------------------------------------------------------------------------

namespace WP7Contrib.Services.BingMaps.Resources.Search
{
    using Newtonsoft.Json;

    [JsonObject(MemberSerialization.OptIn)]
    internal sealed class PhoneBookResult
    {
        [JsonProperty("Title")]
        public string Title { get; set; }

        [JsonProperty("Url")]
        public string Url { get; set; }

        [JsonProperty("BusinessUrl")]
        public string BusinessUrl { get; set; }

        [JsonProperty("City")]
        public string City { get; set; }

        [JsonProperty("CountryOrRegion")]
        public string CountryOrRegion { get; set; }

        [JsonProperty("DisplayUrl")]
        public string DisplayUrl { get; set; }

        [JsonProperty("Latitude")]
        public double Latitude { get; set; }

        [JsonProperty("Longitude")]
        public double Longitude { get; set; }

        [JsonProperty("PhoneNumber")]
        public string PhoneNumber { get; set; }

        [JsonProperty("PostalCode")]
        public string PostalCode { get; set; }

        [JsonProperty("ReviewCount")]
        public int ReviewCount { get; set; }

        [JsonProperty("StateOrProvince")]
        public string StateOrProvince { get; set; }

        [JsonProperty("UniqueId ")]
        public string UniqueId { get; set; }

        [JsonProperty("UserRating")]
        public double UserRating { get; set; }

        [JsonProperty("Business")]
        public string Business { get; set; }

        [JsonProperty("Address")]
        public string Address { get; set; }
    }
}